/* **********************************************************************************
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* **********************************************************************************/

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Theme_Builder
{
    public partial class EditCustomFont : Form
    {
        public EditCustomFont()
        {
            InitializeComponent();
        }

        public string Language
        {
            get { return this.textBoxLanguage.Text; }
            set { this.textBoxLanguage.Text = value; }
        }

        public string Typeface
        {
            get { return this.textBoxFont.Text; }
            set { this.textBoxFont.Text = value; }
        }

        private void textBox_TextChanged(object sender, EventArgs e)
        {
            buttonOK.Enabled = (textBoxLanguage.Text.Length > 0) && (textBoxFont.Text.Length > 0);
        }
    }
}